const https = require('https')
const cheerio = require('cheerio')

function fillterData(data) {
  const $ = cheerio.load(data)
  $('.children-list .title').each((index, el) => {
    console.log($(el).html())
  })
}

https.get('https://www.mi.com', (res) => {
  let data = ''
  res.on('data', (chunk) => {
    data += chunk
  })
  res.on('end', () => {
    fillterData(data)
  })
})